#pragma once
#include "guielement.h"
#include "sdl.h"
#include "Draw.h"
#include <string>
#include <sstream>
class TilePicker :
	public GuiElement
{
private:
	
    SDL_Surface * tileset ;
public:
	 

	
	SDL_Rect images[Draw::NUM_IMAGES]; 
	TilePicker(int x, int y, std::string prp, SDL_Surface* result);
	int selected;
	~TilePicker(void);
	void onClick() ;
	void onClickOut();
	void drawElement(SDL_Surface* screen);
	void handleInput(SDL_Event event);
};

